package cn.wolfcode.qo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/*
 * 封装过滤查询的参数类
 * */
@Getter
@Setter
@ToString
public class LogQueryObject extends QueryObject {
    private String keyword;
    private String rquestMethod;
    private String IP;
    private Boolean handlerResult;
    //开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

}
